package com.lvt.design.pattern.module.ratelimiter.v2.rule.parser;


import com.lvt.design.pattern.module.ratelimiter.v2.rule.RuleConfig;

import java.io.InputStream;

/**
 * desc： interface
 *
 * @author LT
 * @date 2022/12/6
 */
public interface RuleConfigParser {
    RuleConfig parse(String configText);

    RuleConfig parse(InputStream in);
}
